package cc.lucien.templatemethod;

/**
 * @author lucien-ma
 * @date 2021/11/7
 * @apiNote
 */
public class Test {
    public static void main(String[] args) {
        Cook cook = new CookTomato();
        cook.cook();
        System.out.println("-------------------");
        cook = new CookPotato();
        cook.cook();
    }
}
